package com.filldream.fastboot.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 运费模板
 * </p>
 *
 * @author RickSun
 * @since 2020-05-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FreightModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 运费模板标题
     */
    private String title;
    /**
     * 可运送地区id
     */
    private String areaId;
    /**
     * 可运送地区名称
     */
    private String areaName;
    /**
     * 默认/起送件数
     */
    private Integer defaultNum;
    /**
     * 默认/起送重量
     */
    private Integer defaultWeight;
    /**
     * 默认价格
     */
    private Integer defaultPrice;
    /**
     * 续件数量
     */
    private Integer keepNum;
    /**
     * 续重单位，克
     */
    private Integer keepWeight;
    /**
     * 续件重价格，分
     */
    private Integer keepPrice;


}
